package com.yuerlive.rainbow.module.main.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.ObjectWrapper;

import java.util.List;

/**
 * Created by xiaoyi on 2017/5/26.
 */

public interface HomeContract {
    interface Presenter extends BasePresenter {
        void getHotBanner();

        void getHotLive();

        void getData();

        void refresh();

        void getFollowed(boolean isLoadMore);

    }

    interface View extends BaseView<Presenter> {
        void showFullData(List<ObjectWrapper> results);

        void showLiveData(List<ObjectWrapper> results,int page);

        void showMoreData(List<ObjectWrapper> results);
    }
}
